package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.SelectModel;
import com.xzssmk.leisure.x.po.StaffMerchant;
import com.xzssmk.leisure.x.po.StaffMerchantExample;
import com.xzssmk.leisure.x.vo.StaffMerchantVo;

public interface StaffMerchantMapper {
    long countByExample(StaffMerchantExample example);

    int deleteByExample(StaffMerchantExample example);

    int deleteByPrimaryKey(Integer staffId);

    int insert(StaffMerchant record);

    int insertSelective(StaffMerchant record);

    List<StaffMerchant> selectByExample(StaffMerchantExample example);

    StaffMerchant selectByPrimaryKey(Integer staffId);

    int updateByExampleSelective(@Param("record") StaffMerchant record, @Param("example") StaffMerchantExample example);

    int updateByExample(@Param("record") StaffMerchant record, @Param("example") StaffMerchantExample example);

    int updateByPrimaryKeySelective(StaffMerchant record);

    int updateByPrimaryKey(StaffMerchant record);

    int deleteByPrimaryKeys(@Param("idlist") List<Integer> idlist);

    List<StaffMerchantVo> getPageList(@Param("subSQL") String subSQL);

    List<SelectModel> getScenicSpotSelect();

    List<SelectModel> getStoreLargessSelect();

}